Physics Engine

Performant

The physics engine has been rigorously optimized, leveraging a Hierarchical Spatial Hashgrid for efficient broad-phase collision detection and raycasting.

Stable

This impulse-based physics engine incorporates warm starting with persistent contacts and computes collision manifolds to enhance the stability of collision responses.

Raycasting

The hierarchical spatial hashgrid enables efficient ray casting for testing intersections with hundreds of colliders.

Component based API

Modular

With the component-based API, the creation and reusability of components become a straightforward process, featuring a lifecycle that involves init, update, render, and destroy methods.

code example

Rendering

WebGL

This framework provides implementations for both canvas and WebGL rendering contexts. The WebGL API employs batch rendering behind the scenes and offers the flexibility to create custom shaders.

code example

Input handeling

Multiple types of input

The framework has methods for handeling different types of input. from mouse clicks, to touchscreen swipes and gyroscopic rotations

mouse

keyboard

touch

gyroscope